allwinner: Introduce basic platform support
authorSamuel Holland <[email protected]>
Sat, 12 Aug 2017 09:07:39 +0000 (04:07 -0500)
committerAndre Przywara <[email protected]>
Fri, 15 Jun 2018 10:45:24 +0000 (11:45 +0100)
commit58032586f88980c03969e47bcc9a84b5abc788e2
treef196bb59d71318ded15a75febbc0d654277d5ae1
parent498161a504bdeeb21ea0647422ce484c79664e1b
allwinner: Introduce basic platform support

This platform supports Allwinner's SoCs with ARMv8 cores. So far they
all sport a single cluster of Cortex-A53 cores.

"sunxi" is the original code name used for this platform, and since it
appears in the Linux kernel and in U-Boot as well, we use it here as a
short file name prefix and for identifiers.

This port includes BL31 support only. U-Boot's SPL takes the role of the
primary loader, also doing the DRAM initialization. It then loads the
rest of the firmware, namely ATF and U-Boot (BL33), then hands execution
over to ATF.

This commit includes the basic platform code shared across all SoCs.
There is no platform.mk yet.

[Andre: moved files into proper directories, supported RESET_TO_BL31,
various clean ups and simplifications ]

Signed-off-by: Samuel Holland <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
plat/allwinner/common/include/plat_macros.S [new file with mode: 0644]
plat/allwinner/common/include/platform_def.h [new file with mode: 0644]
plat/allwinner/common/include/sunxi_def.h [new file with mode: 0644]
plat/allwinner/common/plat_helpers.S [new file with mode: 0644]
plat/allwinner/common/sunxi_bl31_setup.c [new file with mode: 0644]
plat/allwinner/common/sunxi_common.c [new file with mode: 0644]
plat/allwinner/common/sunxi_pm.c [new file with mode: 0644]
plat/allwinner/common/sunxi_private.h [new file with mode: 0644]
plat/allwinner/common/sunxi_topology.c [new file with mode: 0644]